#ifndef NctiWindowInputCharEvent_H
#define NctiWindowInputCharEvent_H
#include "NctiWindowEvent.h"
#include <string>
namespace NCTI
{
	/**
   * @brief window input char event
   * @see NctiWindowEvent
   */
	class DECL_NCTI_WINDOW NctiWindowInputCharEvent : public NctiWindowEvent
	{
	public:
		NctiWindowInputCharEvent(NctiWindowObject* i_pWindowObject);
		virtual ~NctiWindowInputCharEvent();
	public:
		/**
	   * @brief set code of char
	   * @param[in] i_code
	   */
		void setCode(Ncti_UInteger i_code);
		/**
	   * @brief get code of char
	   * @return Ncti_UInteger
	   */
		Ncti_UInteger getCode() { return m_code; }
		/**
	   * @brief get char
	   * @return const std::string&
	   */
		const std::string& GetChar() { return m_string; }
	private:
		Ncti_UInteger m_code;
		std::string m_string;
	};
}
#endif
